Skip to content
This repository has been archived by the owner on Jan 9, 2020. It is now read-only.

Improved the example commands in running-on-k8s document. #25

Conversation

lins05
Copy link

@lins05 lins05 commented Jan 17, 2017

What changes were proposed in this pull request?

Improved the example commands in running-on-k8s document so it's easier to copy & paste. Also fixed the name of the example jar.

Copy link

@ash211 ash211 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a good change to me, thanks @lins05 !

There are several other places in this file where a spark-submit command is split across multiple files without the \ at the end of lines. Would you please add the \ to those also and then we can merge?

Welcome to the Spark on Kubernetes efforts @lins05 !

@lins05
Copy link
Author

lins05 commented Jan 17, 2017

@ash211 Thanks, updated!

--conf spark.jars=file:///opt/spark-plugins/app-plugin.jar \
--conf spark.kubernetes.driver.docker.image=registry-host:5000/spark-driver-custom:latest \
--conf spark.kubernetes.executor.docker.image=registry-host:5000/spark-executor:latest \
http://example.com:8080/applications/sparkpluggable/app.jar \
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one extra slash on the last line here

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, removed.

@ash211
Copy link

ash211 commented Jan 17, 2017

Looks good -- merging!

Thanks again for the contribution @lins05 ! Have you been able to get this code working based on these docs?

@ash211 ash211 merged commit 2a093a8 into apache-spark-on-k8s:k8s-support-alternate-incremental Jan 17, 2017
@lins05 lins05 deleted the k8s-worktree branch January 17, 2017 17:26
@lins05
Copy link
Author

lins05 commented Jan 17, 2017

Yep. I have setup a minikube cluster and sucessfully run the spark pi example in cluster mode, and it's very straight forward by following the doc. It did took me some time to build the spark dist files and the docker images though.

@ash211
Copy link

ash211 commented Jan 17, 2017

Yep they build pretty slowly -- Spark is a rather large project. If you have issues or suggestions, please file issues in this project and provide feedback feedback. Glad you were able to get it working.

@foxish
Copy link
Member

foxish commented Jan 17, 2017

@lins05 Have you signed the Apache ICLA/CCLA? @ash211 I think we should make sure that contributors have one of those signed especially if they contribute code.

@lins05
Copy link
Author

lins05 commented Jan 18, 2017

@foxish Not yet, but I'd be happy to, so please tell me how to proceed. Also FWIW I've contributed code to both mesos and spark, but neither of them asked me to sign the CLA.

@foxish
Copy link
Member

foxish commented Jan 18, 2017

I know that @iyanuobidele signed one, but that was the CCLA IIRC.

@iyanuobidele
Copy link

Indeed, it was the CCLA.

For me, we already had one signed with Apache, so I only had to add my name in the mix.

@lins05 if you're part of a company, then you might want to get legal and ... to look into this document. Otherwise, you need an ICLA, which I believe is more straightforward. See here

ash211 pushed a commit that referenced this pull request Feb 8, 2017
* Improved the example commands in running-on-k8s document.

* Fixed more example commands.

* Fixed typo.
ash211 pushed a commit that referenced this pull request Mar 8, 2017
* Improved the example commands in running-on-k8s document.

* Fixed more example commands.

* Fixed typo.
foxish pushed a commit that referenced this pull request Jul 24, 2017
* Improved the example commands in running-on-k8s document.

* Fixed more example commands.

* Fixed typo.
ifilonenko pushed a commit to ifilonenko/spark that referenced this pull request Feb 25, 2019
ifilonenko pushed a commit to ifilonenko/spark that referenced this pull request Feb 25, 2019
…rk-on-k8s#25)

* Improved the example commands in running-on-k8s document.

* Fixed more example commands.

* Fixed typo.
puneetloya pushed a commit to puneetloya/spark that referenced this pull request Mar 11, 2019
…rk-on-k8s#25)

* Improved the example commands in running-on-k8s document.

* Fixed more example commands.

* Fixed typo.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants